/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
    margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
    display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
    background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
    font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
    font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
    border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
    /* 1 */
    overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
    /* 1 */
    text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
    vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
    overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
    display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
    display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
    display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
    display: none;
}




button,
textarea,
input,
iframe {
    font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 100%;
    font-style: normal;
    letter-spacing: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: normal;
    text-align: left;
    text-align-last: initial;
    text-decoration: none;
    text-emphasis: none;
    text-indent: 0px;
    text-shadow: none;
    text-transform: none;
    margin: 0px;
    padding: 0px;
    background-color: transparent;
    background-image: none;
    border: none;
    border-radius: 0px;
    box-sizing: content-box;
    line-height: inherit;
    color: inherit;
    min-width: 0px;
}


body {
    font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"
}

html,
body,
.board-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.board-wrap {
    box-sizing: border-box;
    padding: 8px;
    transition: opacity 0.12s ease-in-out;
}

form#board-form {
    margin: 0;
}

.board-launcher {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 9;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 1;
}

.widget-open .board-launcher {
    transform: scale3d(0.5, 0.8, 1) translate3d(0px, 100px, 0px);
    opacity: 0.2;
}

.widget-open .chat-widget {
    transform: translate3d(0px, 0, 0px);
    opacity: 1;
}

.board-action {
    position: absolute;
    right: 12px;
    top: 12px;
    display: flex;
}

.board-action-btn {
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s ease-in-out;
    margin-left: 8px;
}

.board-action-btn:hover {
    opacity: 1;
}
.hide-board-action .board-action{
    display: none;
}

.board-min-btn {
    display: none;
}

.board-wrap.widget-maximize .board-min-btn {
    display: block;
}

.board-wrap.widget-maximize .board-max-btn {
    display: none;
}

.board-launcher-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: rgb(255, 73, 128);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.board-launcher-btn:hover {
    cursor: pointer;
}

.board-launcher-btn i {
    font-size: 28px;
}

.chat-header h2 {
    font-weight: 400;
    margin: 0;
    font-size: 24px;
    margin-top: 20px;
}

.chat-header {
    background-color: rgb(255, 73, 128);
    padding: 30px 20px;
    color: #FFF;
    flex-shrink: 0;
    position: relative;
}

.chat-header p {
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
    margin-top: 12px;
}

.chat-widget {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translate3d(0px, 100%, 0px);
    opacity: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.board-input-wrap {
    padding: 18px 50px 22px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    background-color: #FFF;
    position: relative;
}

.board-input {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 14px;
    font-weight: normal;
    line-height: 1.33;
    background-color: rgb(255, 255, 255);
    white-space: pre-wrap;
    overflow-wrap: break-word;
    max-height: 200px;
    overflow: hidden;
}

.board-input {
    color: rgb(26, 26, 26);
    resize: none;
    border: none;
    transition: background-color 200ms ease 0s, box-shadow 200ms ease 0s;
    outline: none;
    overflow-y: auto;
}

.board-input textarea:focus {
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 100px 0px;
}

.chat-submit-btn {
    position: absolute;
    right: 18px;
    top: 20px;
    cursor: pointer;
}



.chat-msg {
    color: #FFF;
}

.offline-msg label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.form-control {
    color: #333;
    border: 1px solid #dee2e6;
    height: 36px;
    padding: 5px 10px;
    box-sizing: border-box;
    border-radius: 4px;
    font-size: 13px;
    width: 100%;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.06);
    outline: none;
}

.form-control:active,
.form-control:focus,
.form-control:focus-visible {
    outline: none;
}

textarea.form-control {
    height: auto;
}

.invalid-feedback {
    font-size: 12px;
    color: #bf1212;
    margin-top: 5px;
    display: none;
}

.invalid-feedback.feedback-visible {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

span.form-required {
    color: #bf1212;
}

.offline-msg {
    padding: 20px 20px;
    position: relative;
}

.btn-primary {
    background-color: #ff90e8;
    border-radius: 5px;
    padding: 12px 10px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    margin-bottom: 10px;
    font-weight: 400;
    color: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}


.board-msg,
.offline-msg {
    padding: 20px 20px 10px 20px;
    height: 100%;
    overflow: auto;
}

.chat-msg {
    color: #FFF;
    margin-bottom: 12px;
    font-size: 14px;
}

.chat-msg.user {
    text-align: right;
}



.chat-msg-text {
    display: inline-block;
    padding: 10px;
    border-radius: 6px;
    line-height: 1.6;
}

.chat-msg-text pre {
    margin: 0 -10px;
    font-size: 12px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.04);
}

.chat-msg-text p:first-child {
    margin-top: 0;
}

.chat-msg-text p:last-child {
    margin-bottom: 0;
}

.chat-msg.user .chat-msg-text {
    background-color: rgb(255, 73, 128);
}

.chat-msg.chatbot .chat-msg-text {
    background-color: rgb(245, 245, 245);
    color: rgb(0, 0, 0);
}

.chat-msg-text.chat-msg-form {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 12px;
}
.chat-msg-form .form-group {
    margin-bottom: 0;
}
.chat-msg-form label {
    margin-bottom: 8px;
    display: block;
}
.chat-msg-form .input-group {
    position: relative;
    margin-bottom: 0;
}
.chat-msg-form .form-control {
    background-color: #FFF;
}
.chat-msg-form .chat-submit-btn, .chat-msg-form .lead-done-icon {
    top: 50%;
    right: 10px;
    transform: translate3d(0, -50%, 0px);
    transition: opacity 0.2s ease-in-out;
    z-index: 1;
}
.lead-done-icon {
    display: none;
    position: absolute;
}
.chat-msg-form .chat-loading-dot-cont {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 20px;
    transform: translate3d(0px, -50%, 0px);
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
.chat-msg-form .chat-loading-dot {
    width: 5px;
    height: 5px;
}
.chat-msg-form.board-msg-form-loading .chat-submit-btn {
    opacity: 0;
}
.chat-msg-form.board-msg-form-loading .chat-loading-dot-cont {
    opacity: 1;
}
.chat-msg-form.board-msg-form-submitted .chat-submit-btn {
    display: none;
}
.chat-msg-form.board-msg-form-submitted .lead-done-icon {
    display: block;
}



.chat-loading-dot-cont {
    display: flex;
    width: 30px;
    justify-content: space-between;
    padding: 0 5px;
    margin-top: 9px;
    height: 12px;
}

.chat-loading-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #000;
}


.chat-msg-text .chat-loading-dot:nth-last-child(1) {
    animation: jumpingAnimation 1.2s 0.6s linear infinite;
}

.chat-msg-text .chat-loading-dot:nth-last-child(2) {
    animation: jumpingAnimation 1.2s 0.3s linear infinite;
}

.chat-msg-text .chat-loading-dot:nth-last-child(3) {
    animation: jumpingAnimation 1.2s 0s linear infinite;
}

@keyframes jumpingAnimation {
    0 {
        transform: translate(0, 0);
    }

    16% {
        transform: translate(0, -8px);
    }

    33% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes jumpingAnimationSmall {
    0 {
        transform: translate(0, 0);
    }

    16% {
        transform: translate(0, -4px);
    }

    33% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(0, 0);
    }
}


.powered-by {
    background-color: rgb(0, 0, 0, 0.06);
    padding: 8px 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    color: #656565;
    box-shadow: 0px 1px 1px 0px inset rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.board-sample-msg {
    padding: 5px 10px;
    margin-right: -5px;
    margin-bottom: -5px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.board-sample-msg {
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    margin-right: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    padding: 5px 8px;
    transition: all 0.2s ease-in-out;
    color: #333;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.08);
}

.board-sample-msg.hide-sample-msg {
    display: none;
}

.board-sample-msg:hover {
    background-color: rgba(0, 0, 0, 0.04);
    box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.08);
}

.board-sample-msg:active {
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08) inset;
}


.chat-source-read-more {
    margin-right: 8px;
    flex-shrink: 0;
}

a.chat-source-btn {
    color: inherit;
    text-transform: capitalize;
    margin-right: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 210px;
}

.chat-sources {
    display: flex;
    flex-wrap: wrap;
}

.chat-header-top {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.chat-tabs button {
    border: none;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.chat-tabs {
    margin-top: -17px;
    display: none;
    position: relative;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

.has-offline-msg .chat-tabs {
   display: inline-block;
}

.tabs-active {
    z-index: 1;
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    background-color: rgba(255, 255, 255, 0.8);
    width: 85px;
    border-radius: 12px;
    transition: width 0.35s cubic-bezier(0.215, 0.61, 0.355, 1), left 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
}




.board-wrap-ai-assistant .offline-msg-header {
    display: none;
}

.board-wrap-ai-assistant .offline-msg {
    display: none;
}

.board-wrap-offline .ai-assistant-header {
    display: none;
}

.board-wrap-offline .board-msg {
    display: none;
}

.board-wrap-offline .board-sample-msg {
    display: none;
}

.board-wrap-offline .board-input-wrap {
    display: none;
}

.message-feedback {
    position: absolute;
    background-color: #FFF;
    z-index: 9;
    display: flex;
    top: 0;
    left: 0;
    bottom: 0;
    flex-direction: column;
    right: 0;
    justify-content: center;
    color: #198754;
    align-items: center;
    height: 100%;
    padding: 0 60px;
    display: none;
    color: #ff90e8;
}

.message-feedback svg {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.message-feedback .btn-primary {
    margin-top: 30px;
    padding: 10px 0px;
}

.offline-msg.show-success-msg .message-feedback-success {
    display: flex;
}

.offline-msg.show-error-msg .message-feedback-error {
    display: flex;
}

.offline-msg.show-success-msg,
.offline-msg.how-error-msg {
    overflow: hidden;
}
